/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.zx.examination.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.zx.examination.entity.Texamination;
import com.jeesite.modules.zx.examination.dao.TexaminationDao;

/**
 * 专项模拟考试表Service
 * @author zpp
 * @version 2020-03-22
 */
@Service
@Transactional(readOnly=true)
public class TexaminationService extends CrudService<TexaminationDao, Texamination> {
	
	/**
	 * 获取单条数据
	 * @param texamination
	 * @return
	 */
	@Override
	public Texamination get(Texamination texamination) {
		return super.get(texamination);
	}
	
	/**
	 * 查询分页数据
	 * @param texamination 查询条件
	 * @param texamination.page 分页对象
	 * @return
	 */
	@Override
	public Page<Texamination> findPage(Texamination texamination) {
		return super.findPage(texamination);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param texamination
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(Texamination texamination) {
		super.save(texamination);
	}
	
	/**
	 * 更新状态
	 * @param texamination
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(Texamination texamination) {
		super.updateStatus(texamination);
	}
	
	/**
	 * 删除数据
	 * @param texamination
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(Texamination texamination) {
		super.delete(texamination);
	}
	
}